# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=zeus
pkgver=111.97db152
pkgrel=8
pkgdesc='AWS Auditing & Hardening Tool.'
arch=('any')
groups=('blackarch' 'blackarch-defensive' 'blackarch-scanner')
url='https://github.com/DenizParlak/Zeus'
license=('MIT')
depends=('aws-cli' 'python-pip')
makedepends=('git')
source=("$pkgname::git+https://github.com/DenizParlak/Zeus.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -Dm 755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

